package com.thoughtworks.opensource.yui.dd.client.helpers;

import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.DOM;

/**
 * Created by IntelliJ IDEA.
 * Author: C. K. Sidu Ponnappa
 * Date: Nov 21, 2006
 * Time: 10:03:33 PM
 * ThoughtWorks India Pvt. Ltd.
 */
public class DOMUtils {
    public static String getIdFor(Widget w) {
        return DOM.getAttribute(w.getElement(), "id");
    }
}
